#! /bin/bash

# Changes directory to repository root.
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
cd "${SCRIPT_DIR}"
REPO_ROOT=./$(git rev-parse --show-cdup)
cd "${REPO_ROOT}"

# ./pyrunner python/experimental/sungraecho/okex_leverage.py \
#   --account="prestoinvt28_swap" \
#   --leverage=5 \
#   --query_only=1

for acc in "prestoinvt27" "prestoinvt28"; do
  ./pyrunner python/experimental/sungraecho/okex_leverage.py \
    --account="$acc" \
    --leverage=5 \
    --query_only=0 &
done
wait
